"use strict"

let mongoose 	= require('mongoose');
let Schema 		= mongoose.Schema;

let AccountSchema = new Schema({
	name: { type: String, index: {unique: true }, required: true },
	createdAt : { type: Date, default: Date.now },
	updatedAt : { type: Date },
	deletedAt : { type: Date }
});

module.exports = mongoose.model('Account', AccountSchema);
